package com.hoshiicloud.auth;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@Slf4j
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackages = {"com.hoshiicloud.auth", "com.hoshiicloud.common"})
public class HoshiiCloudAuthServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(HoshiiCloudAuthServerApplication.class, args);
        log.info("授权中心启动完成");
    }

}
